import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入 vant 组件
import Vant from 'vant'
// // 引入 vant 样式
// import 'vant/lib/index.css'
// 引入全部样式
import 'vant/lib/index.less'

import ArticleItem from './components/article-item.vue'

Vue.config.productionTip = false

// 全局引用
Vue.component(ArticleItem.name, ArticleItem)

// 安装 vant
Vue.use(Vant)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
